<template>
  <view class="index-container">
    <!-- <custormTabbar ref="tabbar"></custormTabbar> -->
  </view>
</template>

<script setup lang="ts">
import { ref, reactive, onMounted, onUnmounted } from "vue";
import custormTabbar from "../../components/Tabbar/index.vue";
const loadingstyle = ref(true);
import Taro, { useDidShow, usePageScroll } from "@tarojs/taro";
import { createSelectorQuery } from "@tarojs/taro";
// 监听页面滚动
const content = ref();
const isColorLight = ref(false);
useDidShow(() => {});
usePageScroll((res) => {
  if (res.scrollTop >= 80) {
    isColorLight.value = true;
  } else {
    isColorLight.value = false;
  }
});
</script>

<style lang="scss">
.index-container {
  display: flex;
  flex-direction: column;
  // height: 100vh;
}
</style>
